Free the display_key.
authorFederico Mena Quintero <federico@ximian.com>
Tue, 9 Sep 2003 15:18:29 +0000 (15:18 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Tue, 9 Sep 2003 15:18:29 +0000 (15:18 +0000)
commit613b441b5b3a2920463396e28c9ae95b34868ec1
treef8fe413ace9283c9e3e2fc02b460417577d244f6
parent0d7de37eb07c6b1c531dddb54063ac95d4db5874
Free the display_key.

2003-09-08  Federico Mena Quintero  <federico@ximian.com>

* gtkfilesystem.c (gtk_file_info_free): Free the display_key.

* gtkfilechooserimpldefault.c (list_mtime_data_func): New
function.
(create_file_list): Add a modification time column; remove the
size column.
(mtime_sort_func): New callback.
(tree_selection_changed): Add a sorting function for the mtime
column.  Have the model fetch the modification time as well.
(tree_selection_changed): Do allow the file list model to show
directories.

* testfilechooser.c (my_new_from_file_at_size): Do not try to read
non-regular files.
gtk/gtkfilechooserdefault.c
gtk/gtkfilesystem.c
gtk/gtkfilesystemmodel.c
tests/testfilechooser.c